package cn.lcc.basic.service;


import cn.lcc.basic.query.BaseQuery;
import cn.lcc.basic.util.PageList;

import java.util.List;

public interface IBaseService<T> {
    List<T> loadAll();
    T loadById(Long id);
    void save(T t);
    void update(T t);
    void del(Long id);
    PageList<T> queryPage(BaseQuery baseQuery);
    void patchDel(Long[] ids);
}
